fix lupdate warning. (#617)
authortsteven4 <13596209+tsteven4@users.noreply.github.com>
Sun, 2 Aug 2020 15:00:09 +0000 (09:00 -0600)
committerGitHub <noreply@github.com>
Sun, 2 Aug 2020 15:00:09 +0000 (09:00 -0600)
With Qt 5.12.9 the lupdate command in package_app could print a warning:
/home/strabert/work/pkgconfig/gui/preferences.cc:28: Discarding unconsumed meta data

gui/preferences.cc

index fbed65695a56844669b0274464f9508102c82d85..2515e50766731b970dc13cd4ea5fae6f2292d033 100644 (file)
@@ -23,7 +23,7 @@
 class FormatListEntry : public QListWidgetItem
 {
 public:
-  FormatListEntry(Format& fmt) /*: fmt_(fmt)*/
+  FormatListEntry(Format& fmt) /* : fmt_(fmt) */
   {
     setText(fmt.getDescription());
     bool enabled = !fmt.isHidden();